#ifndef CNULLPOINTEREXCEPTION_H_
#define CNULLPOINTEREXCEPTION_H_

#include "casideexception.h"

/**
 * CNullPointerException - null pointer exception
 * @author Michal Rost
 * @date 11.07.2008
 */
class CNullPointerException : public CAsideException {
public:
  CNullPointerException() :
    CAsideException() {
  }
  CNullPointerException(string message) :
    CAsideException(message) {
  }
  CNullPointerException(string exClassName, string exMethodName,
      string message = "") :
    CAsideException(exClassName, exMethodName, message) {
  }
  CNullPointerException(string exClassName, string exMethodName,
      string message, CAsideException* cause) :
    CAsideException(exClassName, exMethodName, message, cause) {
  }
  static string getClassName() {
    static const string CLASS_NAME = "CNullPointerException";
    return CLASS_NAME;
  }
};

#endif
